package com.hdit.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

import org.compass.annotations.Searchable;

/**
 * 实体类 - 商品报价
 * ============================================================================
 */

@Entity
@Searchable
public class AuctionApply extends BaseEntity {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String name;// 申请专利名称
	
	private String auctionNo;// 申请专利名称
	
	private String auctionPrice;// 竞拍低价
	
	private Integer status;// 竞价状态
	
	private Member member; //申请人

	@ManyToOne(fetch = FetchType.LAZY)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	
	
	
	@Column(nullable = false)
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuctionNo() {
		return auctionNo;
	}

	public void setAuctionNo(String auctionNo) {
		this.auctionNo = auctionNo;
	}

	public String getAuctionPrice() {
		return auctionPrice;
	}

	public void setAuctionPrice(String auctionPrice) {
		this.auctionPrice = auctionPrice;
	}
	

}